package org.example.edusmart.utils;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Result {
    private Object data;
    private Integer code;
    private String message;

    public Result(Object data, Integer code, String message) {
        this.data = data;
        this.code = code;
        this.message = message;
    }

    public Result(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Result() {
    }

}
